<?php
namespace app\text;
/**
* 
*/
class Text
{
	// 获取审批条数
	public static function test()
	{
		// $list=\DB::table("crm_receive")->where('receive_statue',1)->first();
		dd("hhh");
	}
	// 获取审批数据
	public static function info()
	{
		$list=\DB::table('crm_receive')->where('receive_statue',1)->get();
		// dd($list);
		$xiaoxi=[];
		foreach($list as $k=>$vo){
			$xiaoxi[$k]['id']=$vo->id;
			$xiaoxi[$k]['receive_date']=$vo->receive_date;
		}
		return $xiaoxi;
		// return $list;
	}
}